/*
** ex2.c for ex2 in /home/nadali_t//local/Projets/printf
** 
** Made by thomas nadalie
** Login   <nadali_t@epitech.net>
** 
** Started on  Mon Nov 14 17:23:37 2011 thomas nadalie
** Last update Mon Nov 14 18:06:40 2011 thomas nadalie
*/

struct	ex2
{
  char	p;
  int	i;
  short	k;
};

int	fct(int	param1, struct ex2 param2, char *param3)
{
  int	*ptr1;

  ptr1 = &param1;
  printf("%d\n", ptr1);
  printf("%d\n", *ptr1);
  ptr1++;
  printf("%d\n", ptr1);
  printf("%c\n", *ptr1);
  ptr1++;
  printf("%d\n", ptr1);
  printf("%d\n", *ptr1);
  ptr1++;
  printf("%d\n", ptr1);
  printf("%d\n", *ptr1);
  ptr1++;
  printf("%d\n", ptr1);
  printf("%s\n", *ptr1);
}

int	main()
{
  struct ex2 razer;
  
  razer.i = 1;
  razer.p = 'l';
  razer.k = 4;
  fct(1, razer, "pino");
}
